<template>
  <div>{{axoisMessage}}}</div>
</template>

<script>
import { request2 } from '../network/request'

export default {
  name: 'HelloAxios',
  data(){
    return{
      axoisMessage:'',
    }
  },
  created(){
    request2({
      url:'/home/data',
      params:{
        type:'pop',
        page:1,
      },
    }).then(res=>{
      this.axoisMessage = res;
    }).catch(err=>{
      console.log(err);
    })
  },
}
</script>

<style>

</style>